/**
 * Copyright(c) 2013 Jade Techonologies Co., Ltd.
 *
 * History:
 *   13-4-14 下午3:50 Created by dwzhang
 */
package com.jade.framework.base.criterion;

import com.jade.framework.base.ErrorConstants;

/**
 * 常量定义。
 *
 * @author dwzhang
 * @version 1.0 13-4-14 下午3:50
 */
public interface Constants
{
    static final String INVALID_SQL_FORMAT = ErrorConstants.ERR_INVALID_SQL;
    static final String BLANK = " ";
    static final String COMMA = ",";
    static final String SELECT = "SELECT";
    static final String FROM = "FROM";
    static final String WHERE = "WHERE";
    static final String AND = "AND";
    static final String OR = "OR";
    static final String NOT = "NOT";
    static final String BETWEEN = "BETWEEN";
    static final String ORDER_BY = "ORDER BY";
    static final String GROUP_BY = "GROUP BY";
    static final String HAVING = "HAVING";
    static final String DISTINCT = "DISTINCT";

    static final String ASC = "ASC";
    static final String DESC = "DESC";

    static final String NULL = "NULL";
    static final String IS = "IS";
    static final String LIKE = "LIKE";
    static final String IN = "IN";
    static final String INTERROGATION_POINT = "?";

    static final String LEFT_PARENTHESIS = "(";
    static final String RIGHT_PARENTHESIS = ")";

    static final String EQUALITY_SIGN = "=";
    static final String INEQUALITY_SIGN = "<>";
    static final String LESS_EQUALITY_SIGN = "<=";
    static final String LESS_SIGN = "<";
    static final String GREAT_EQUALITY_SIGN = ">=";
    static final String GREAT_SIGN = ">";
}
